export const getStorageSync = <T>(key: string): T => uni.getStorageSync(key);

export const setStorageSync = (key: string, val: any) => {
  uni.setStorageSync(key, val);
};

export const removeStorageSync = (key: string) => {
  uni.removeStorageSync(key);
};

export const clearStorageSync = () => {
  uni.clearStorageSync();
};
